package cn.buildworld.mapper;

import java.util.List;

import cn.buildworld.model.User;

public interface UserMapper {

    int deleteByUser(User user)throws Exception;

    int insert(User record)throws Exception;

    int insertSelective(User record)throws Exception;

    User selectByUser(User user)throws Exception;

    int updateByPrimaryKey(User user)throws Exception;

    List<User> selectAll() throws Exception;
    List<User> selectByLike(User user) throws Exception;
    
	User selectById(Integer id)throws Exception;
	User selectByName(User user)throws Exception;
}